package com.fsc.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import lombok.Data;

/**
 * Homework information table
 *
 * @TableName homework_info
 */
@TableName(value = "homework_info")
@Data
public class HomeworkInfo implements Serializable {
	/**
	 * Record ID
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * Teacher ID
	 */
	private Integer teacherId;

	/**
	 * Homework title
	 */
	private String title;

	/**
	 * Homework contents
	 */
	private String contents;

	/**
	 * 完成时间
	 */
	private LocalDate finishdate;

	/**
	 * 作业发布的时间
	 */
	private LocalDateTime time;

	private static final long serialVersionUID = 1L;
}